package adressbuch;

import adressbuch.Flag;

public class Adresse {
	private String strasse;
	private String nr;
	private String plz;
	private String ort;
	private Flag flag;
	
	public Adresse(String strasse, String nr, String plz, String ort, Flag flag){
		setStrasse(strasse);
		setNr(nr);
		setPlz(plz);
		setOrt(ort);
		setF(flag);
	}

	public void setStrasse(String strasse) {
		this.strasse = strasse;
	}

	public String getStrasse() {
		return strasse;
	}

	public void setNr(String nr) {
		this.nr = nr;
	}

	public String getNr() {
		return nr;
	}

	public void setF(Flag flag) {
		this.flag = flag;
	}

	public Flag getF() {
		return flag;
	}

	public void setPlz(String plz) {
		this.plz = plz;
	}

	public String getPlz() {
		return plz;
	}

	public void setOrt(String ort) {
		this.ort = ort;
	}

	public String getOrt() {
		return ort;
	}
	
}
